package BookTest;

public class A3KFCCokeTest {
    public static void main(String[] args) {
        A3KFCCoke coco = new A3KFCCoke();
        int a = coco.getCoke();
        System.out.println("去KFC买可乐，商家默认加"+a+"块冰");
        A3KFCCoke coco1 = new A3KFCCoke(3);
        int b = coco1.getCoke();
        System.out.println("去KFC买可乐,可以要求加"+b+"块冰");
    }
}
